loans-api
Get Existing Liabilities
Description: This endpoint is used to get existing liabilities based on id. The id being passed in path parameter..
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization
Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: {id}
Query Params: NA
Content-type: application/json
Mulesoft Response:
Success Response: (200)
{
"status": {
"success": true,
"code": "200",
"reasonCode": "",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"liabilities": [
{
"customerNo": "1000067570",
"accountNo": "2310000349",
"loanAmount": "10000",
"currentOS": "0",
"nextPayment": "416.667",
"nofRemaining": "26",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "3",
"totalDueAmt": "0",
"dateGranted": "20230212",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000393",
"loanAmount": "10000",
"currentOS": "0",
"nextPayment": "416.667",
"nofRemaining": "26",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "3",
"totalDueAmt": "0",
"dateGranted": "20230212",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000462",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000463",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000464",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000465",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000466",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000467",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000468",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000469",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000470",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
},
{
"customerNo": "1000067570",
"accountNo": "2310000471",
"loanAmount": "1000",
"currentOS": "0",
"nextPayment": "83.333",
"nofRemaining": "13",
"settledBills": "0",
"totalOsBills": "0",
"interestRate": "5",
"totalDueAmt": "0",
"dateGranted": "20230214",
"loanType": "NBI IB LG PAST DUES COMMERCIAL"
}
]
}
}